﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Application.Services;

namespace NP.BPMReportPlatform.EmailHelper
{
    public interface IEmailAPPService : IApplicationService
    {
        /// <summary>
        /// 生成邮件模板
        /// </summary>
        /// <param name="templateName"></param>
        /// <returns></returns>
        string GenerateEmailTemplate(string templateName);

        /// <summary>
        /// 生成邮件模板
        /// </summary>
        /// <param name="templateName"></param>
        /// <param name="model">实体映射</param>
        /// <returns></returns>
        public string GenerateEmailTemplate(string templateName, object model);
    }
}
